Adwaita: remove textview border
authorLapo Calamandrei <calamandrei@gmail.com>
Fri, 27 May 2016 09:34:47 +0000 (11:34 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Fri, 27 May 2016 09:38:20 +0000 (11:38 +0200)
see https://bugzilla.gnome.org/show_bug.cgi?id=764203

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index db793938b6cc1beb314545696b17bec20af7e0e7..cdb2083c8a1db7a608fe443f1ac08e8308283a27 100644 (file)
@@ -118,33 +118,7 @@ textview {
   }
 }
 
-textview border {
-  background-color: mix($bg_color, $base_color, 50%);
-  background-image: image(transparentize(black, 0.8)); // HACK: the border node just draws background so,
-  background-repeat: no-repeat;                        // using a background-image to draw the border
-
-  &:backdrop { background-color: mix($backdrop_bg_color, $backdrop_base_color, 50%); }
-
-  &.bottom {
-    background-size: 100% 1px;
-    background-position: top;
-  }
-
-  &.top {
-    background-size: 100% 1px;
-    background-position: bottom;
-  }
-
-  &.left {
-    background-size: 1px 100%;
-    background-position: right;
-  }
-
-  &.right {
-    background-size: 1px 100%;
-    background-position: left;
-  }
-}
+textview border { background-color: mix($bg_color, $base_color, 50%); }
 
 iconview { @extend .view; }
 
index cc264b5fe475c712049ef810001cb77d501ca8a4..eb84b8b5478c6ee158292d06260b34adcaeaaab0 100644 (file)
@@ -74,23 +74,7 @@ textview text {
     border-radius: 3px; }
 
 textview border {
-  background-color: #2b3032;
-  background-image: image(rgba(0, 0, 0, 0.2));
-  background-repeat: no-repeat; }
-  textview border:backdrop {
-    background-color: #2c3234; }
-  textview border.bottom {
-    background-size: 100% 1px;
-    background-position: top; }
-  textview border.top {
-    background-size: 100% 1px;
-    background-position: bottom; }
-  textview border.left {
-    background-size: 1px 100%;
-    background-position: right; }
-  textview border.right {
-    background-size: 1px 100%;
-    background-position: left; }
+  background-color: #2b3032; }
 
 .rubberband,
 rubberband,
index decd840acec55e19d1c02480575a87dc20b7fc23..fd3170d55e10c29e0d88228064715563916865e2 100644 (file)
@@ -74,23 +74,7 @@ textview text {
     border-radius: 3px; }
 
 textview border {
-  background-color: #f4f4f3;
-  background-image: image(rgba(0, 0, 0, 0.2));
-  background-repeat: no-repeat; }
-  textview border:backdrop {
-    background-color: #f2f2f2; }
-  textview border.bottom {
-    background-size: 100% 1px;
-    background-position: top; }
-  textview border.top {
-    background-size: 100% 1px;
-    background-position: bottom; }
-  textview border.left {
-    background-size: 1px 100%;
-    background-position: right; }
-  textview border.right {
-    background-size: 1px 100%;
-    background-position: left; }
+  background-color: #f4f4f3; }
 
 .rubberband,
 rubberband,